﻿using System.Collections.Generic;
using CoreLibrary.Repo;
using Entities.DataBase.Obj;
using Entities.DataBase.Persistent;

namespace Entities.DataBase {

    public interface ISettingRepository : IRepository<Setting> {
        
        Setting Get(SettingKey key);

        void Add(Setting setting);
        void Update(SettingKey key, string value);
        void UpdateSettings(List<KeyValuePair<string, string>> values);

    }
}